<template>


      <img :src="user_face" class="userinfo_avatar">

</template>

<script>
export default {
  name: "h-user-avatar",
  data(){
    return{
      user_face: JSON.parse(localStorage.getItem("user")).avatar != "" ? JSON.parse(localStorage.getItem("user")).avatar:"https://static.hdslb.com/images/member/noface.gif"
    }
  },
  mounted() {
  },
  props:["vip_info","face"]
}
</script>

<style>
.userinfo_avatar{
  width:90px;
  height:90px;
  border-radius:50%;
  border: solid 1px #e6e6e6;
}
</style>